//
//  BabyGrowEntry.h
//  BabyHelper
//
//  Created by  thomas on 11-6-25.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ConstantStrings.h"

@interface BabyGrowEntry : NSObject {
	int      index;
	NSString *name;
	float    weight;
	float    height;
	float    headCir;
	NSString *comments;
	NSDate   *timestamp;
	NSString *photoPath;
	NSString *thumPath;
	UIImage  *photo;
	int  photoID;
}	
@property (nonatomic, assign) int      index;
@property (nonatomic, retain) NSString *name;
@property (nonatomic, retain) NSString *comments;
@property (nonatomic, retain) NSDate   *timestamp;
@property (nonatomic, retain) NSString *photoPath;
@property (nonatomic, retain) NSString *thumPath;
@property (nonatomic, assign) UIImage  *photo;
@property (nonatomic, assign) float weight;
@property (nonatomic, assign) float height;
@property (nonatomic, assign) float headCir;
@property (nonatomic, assign) int      photoID;

-(NSString*) getTimeWithOutYear;
-(NSString*) getTimeStringWithYear;
-(NSString*) getDateString;
-(NSString*) getSummaryString;
-(id) proxyForJson;

@end